package linwen.wang.tdddemo.utils;

import java.util.Optional;
import java.util.function.Consumer;

/**
 * @ClassName StringUtils
 * @Description TODO
 * @Author zero
 * @DATE 2023/5/4 11:59 PM
 * @Version 1.0
 */
public class StringUtils {
    public static String getDefaultY(String str) {
        return Optional.ofNullable(str).orElse("Y");
    }
}
